package com.xxxy.jsq.model;

import java.io.Serializable;


import com.alibaba.fastjson2.annotation.JSONField;

import java.util.Date;

public class User implements Serializable {
    private Long userId;
    private Long teacherId;
    private Long roleId;
    private String userName;
    private String userPwd;
    private String userFlag;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date userCDate;

    public User() {
    }


    public User(Long userId, Long teacherId, Long roleId, String userName, String userPwd, String userFlag, Date userCDate) {
        this.userId = userId;
        this.teacherId = teacherId;
        this.roleId = roleId;
        this.userName = userName;
        this.userPwd = userPwd;
        this.userFlag = userFlag;
        this.userCDate = userCDate;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getUserFlag() {
        return userFlag;
    }

    public void setUserFlag(String userFlag) {
        this.userFlag = userFlag;
    }

    public Date getUserCDate() {
        return userCDate;
    }

    public void setUserCDate(Date userCDate) {
        this.userCDate = userCDate;
    }

    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", teacherId='" + teacherId + '\'' +
                ", roleId='" + roleId + '\'' +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userFlag='" + userFlag + '\'' +
                ", userCDate=" + userCDate +
                '}';
    }
}